#include <vector>
#include <iostream>

using namespace std;

extern "C" { void vector_play(int * array_data, int num_elem);}

void vector_play(int * array_data, int num_elem) {
	cout << "Defining a c++ vector from the input array" << endl; 

	vector<int> test;
	test.assign(array_data, array_data+num_elem);

	cout << "The vector contains: " << endl;

	for(int i = 0; i< test.size(); i++) cout << test[i] <<endl;

};
